using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("FatalErrorDialog")]
	public class FatalErrorDialog : MonoBehaviour
	{
		public static float DialogWidth => MonoClass.smethod_6<float>(TritonHs.MainAssemblyPath, "", "FatalErrorDialog", "DialogWidth");

		public static float DialogHeight => MonoClass.smethod_6<float>(TritonHs.MainAssemblyPath, "", "FatalErrorDialog", "DialogHeight");

		public static float DialogPadding => MonoClass.smethod_6<float>(TritonHs.MainAssemblyPath, "", "FatalErrorDialog", "DialogPadding");

		public static float ButtonWidth => MonoClass.smethod_6<float>(TritonHs.MainAssemblyPath, "", "FatalErrorDialog", "ButtonWidth");

		public static float ButtonHeight => MonoClass.smethod_6<float>(TritonHs.MainAssemblyPath, "", "FatalErrorDialog", "ButtonHeight");

		public string m_text => method_4("m_text");

		public float DialogTop => method_11<float>("get_DialogTop", Array.Empty<object>());

		public float DialogLeft => method_11<float>("get_DialogLeft", Array.Empty<object>());

		public Rect DialogRect => method_11<Rect>("get_DialogRect", Array.Empty<object>());

		public float ButtonTop => method_11<float>("get_ButtonTop", Array.Empty<object>());

		public float ButtonLeft => method_11<float>("get_ButtonLeft", Array.Empty<object>());

		public Rect ButtonRect => method_11<Rect>("get_ButtonRect", Array.Empty<object>());

		public FatalErrorDialog(IntPtr address, string className)
			: base(address, className)
		{
		}

		public FatalErrorDialog(IntPtr address)
			: this(address, "FatalErrorDialog")
		{
		}

		public void Awake()
		{
			method_8("Awake");
		}

		public void OnGUI()
		{
			method_8("OnGUI");
		}

		public void InitGUIStyles()
		{
			method_8("InitGUIStyles");
		}

		public void OnFatalError(FatalErrorMessage message, object userData)
		{
			method_8("OnFatalError", message, userData);
		}

		public void BuildText()
		{
			method_8("BuildText");
		}
	}
}
